<div class="site-topbar">
    <div class="layout">
        <div class="t1-l">
            <ul class="t1-l-ul">
                <li class="t1font"><a href="{:url('index/index/index')}">Sugoushop</a></li>
                <li class="t1img">&nbsp;</li>
            </ul>
        </div>
        <div class="t1-r">
        {if condition="session('islogin')"}
            <ul class="t1-r-ul">
                <li class="t1font"> <a href="#" class="logon userinfo">{$Think.session.username}</a></li>
                <li class="t1img"><a href="#">安全退出</a></li>
                <li class="t1img">&nbsp;</li>
                <li class="t1img">&nbsp;</li>
                <li class="t1font"><a href="#">我的订单</a></li>
            </ul>
        {else /}
            <ul class="t1-r-ul">
                <li class="t1font"><a href="{:url('index/user/login')}">登录</a></li>
                <li class="t1img">&nbsp;</li>
            </ul>
        {/if}
        </div>
    </div>
</div>

<header>

    <div class="layout">

        <!--logo开始-->
        <div class="logo"><a href="{:url('index/index/index')}" title="sugoushop"><img src="img/logofinal3.png" alt="Sugoushop"></a></div>
        <!--logo结束-->


        <div class="qr-code">
            <img src="img/QRcode.jpg" alt="二维码" />
            <p>扫一扫</p>
        </div>
    </div>
</header>

